@using Easy.Mvc.Plugin
@model IEnumerable<PluginInfo>


<div class="table-response">
    <table class="table table-striped table-bordered table-hover">
        <thead>
            <tr>
                <th>#</th>
                <th>@L("名称")</th>
                <th>@L("程序集")</th>
                <th>@L("版本")</th>
                <th>@L("官网")</th>
                <th>@L("发布日期")</th>
                <th>@L("描述")</th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                if (item.WebSite == null)
                {
                    item.WebSite = "http://www.zkea.net";
                }
                <tr>
                    <td>@item.ID</td>
                    <td>@item.Name</td>
                    <td>@item.FileName</td>
                    <td>@(item.Version ?? ZKEACMS.Version.VersionInfo)</td>
                    <td><a href="@item.WebSite" target="_blank">@item.WebSite</a></td>
                    <td>@item.PublishedDate</td>
                    <td>@item.Description</td>
                </tr>
            }
        </tbody>
    </table>
</div>